package com.regex.web.entity.community;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.regex.web.entity.AutoIdBaseEntity;

/**
 * 
 * 〈一句话功能简述〉<br> 
 * 帖子分享记录
 *
 * @author regex
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@TableName("t_article_share")
public class ArticleShareDTO extends AutoIdBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 帖子id
     */
    @TableField("article_id")
    private Long articleId;

    /**
     * 会员id
     */
    @TableField("member_id")
    private Long memberId;

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    @Override
    protected Serializable pkVal() {
        return super.pkVal();
    }

    @Override
    public String toString() {
        return "ArticleShareDTO{" + "articleId=" + articleId + ", memberId=" + memberId + "}";
    }
}
